package entity;

/**
 * 响应结果的信息(message)
 * @author MaoLin Wang
 * @date 2019/9/1819:44
 */
public class ResultMessage {
    public static final String LOGIN_SUCCESS="登录成功";
    public static final String LOGIN_ERROR="用户名或密码错误";
    public static final String NULL_TOKEN="token为空";
    public static final String ACCESS_ERROR="权限不足";
    public static final String USER_ERROR="身份异常";

    /**
     * 给角色分配了不属于它的权限
     */
    public static final String PERMISSION_NOT_ALLOWED="权限越界";

    public static final String QUERY_SUCCESS="查询成功";
    public static final String SAVE_SUCCESS="添加成功";
    public static final String UPDATE_SUCCESS="更新成功";
    public static final String COPY_SUCCESS="复制成功";
    public static final String MOVE_SUCCESS="移动成功";
    public static final String DELETE_SUCCESS="删除成功";
    public static final String DATA_REPETED="重复添加！";
    public static final String PERMISSION_NOT_FOUND="权限已经不存在！";
    public static final String USER_EXISTED="账号存在！";
    public static final String CATEGORY_NOT_FOUND="分类已不存在了哦";
    public static final String TAG_EXISTED="标签已存在！";
    public static final String CATEGORY_EXISTED="当前分类已存在！";

    /**
     * 回复
     */
    public static final String COMMENT_NOT_FOUND="当前评论已不存在了哦";
    public static final String PARENT_COMMENT_NOT_FOUND="上一级评论已不存在了哦";
    public static final String LOGIN_USER_ABNORMAL="您的账户异常，暂时不能评论";
    public static final String REPLY_SUCCESS="回复成功";
    public static final String PUBLISH_SUCCESS="发表成功";


    /**
     * 评论点赞
     */
    public static final String REPEAT_THUMBUP="您已点过赞了哦";
    public static final String THUMBUP_SUCCESS="点赞成功";


    public static final String DISABLED_SUCCESS="禁用成功";


    public static final String TAGS_REPEATED="标签重复添加！";

}
